<script>
export default {
	globalData: {},
	onLaunch: async function () {
		// #ifdef APP-PLUS
		plus.screen.lockOrientation("portrait-primary")
		// #endif

		if (uni.getStorageSync("token")) {
			this.$store.dispatch("reloadUserInfo")
		}
	},
	onShow: async function () {
		uni.hideTabBar()
		// this.$store.dispatch("reloadUserInfo")
	},
	onHide: function () {},
	component: {},
}
</script>

<style lang="scss">
@import "uview-ui/index.scss";

.card-list {
	padding: 20rpx 40rpx;
	font-size: 28rpx;
	color: #333333;
	.time {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-weight: 700;
		color: #232323;
	}
	.tip {
		line-height: 1.8;
	}
	.btns {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		padding-top: 15rpx;
		.button {
			border-radius: 10rpx;
			padding: 5rpx 20rpx;
		}
	}
}

.form-item {
	.label {
		white-space: nowrap;
		padding-right: 15rpx;
		width: 200rpx;
	}
	.value {
		width: 100%;
		input.input {
			&[class] {
				text-align: left;
			}
			background: #f6f6f6;
			border-radius: 15rpx;
			padding-left: 20rpx;
			height: 56rpx;
		}
	}
	&.arrow {
		.value {
			input.input {
				background: transparent;
				text-align: right;
			}
		}
		&.text {
			.value {
				&::after {
					display: none !important;
				}
			}
		}
	}
	.textarea {
		border: 1px dashed #adadad;
		width: 100%;
	}
}
</style>
